Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols

<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class Service
     Inherits System.Web.Services.WebService

    <WebMethod()> _
    Public Function AfegirFactura(ByVal fact As Factura) As String
        Dim bbdd As New BBDD
        Return bbdd.AfegirFactura(fact)
    End Function

    <WebMethod()> _
    Public Function Productes() As Generic.List(Of Producte)
        Dim bbdd As New BBDD
        Return bbdd.LlistatProductes()
    End Function

End Class
